home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 April / Macworld (1999-04).dmg / Serious Software / Katabounga demo / Katabounga / Katabounga US 2.08 / Katabounga US 2.08.rsrc / TEXT_501_NumÈriques.txt < prev    next >
Text File  |  1998-12-16  |  749b  |  34 lines

  1. Creating dynamic variables
  2. These variables are defined in the variable palet.
  3. The user can also define such variables, which can be created and can generate temporary variables within the script.  These variables that are created can also be used whenever the scenario is running.
  4.  
  5. To create a variable, the following syntax such be used :
  6.  
  7. A:=0
  8. B:=45*MouseH
  9. Toto:=ObjectImage.Left/2
  10. Value:=Value+1
  11.  
  12. Numeric expressions 
  13. Each time a script language instruction uses a numeric expression, it acts in the following manner :
  14.  
  15. From a simple numeric value : 
  16. 1
  17. -43
  18. 123,90
  19.  
  20. From a named variable
  21. Toto
  22. A
  23. Value
  24.  
  25. From a predefined value
  26. MouseH
  27. MouseV
  28. ‚Ķ (see "Predefined varaibles" )
  29.  
  30. Or a little of everything‚Ķ
  31.  
  32. Toto+((4*A)/Object.Left)
  33. SceneWidth-43
  34. …